Tweaked a bit to provide an output file.

https://gitlab.com/EddieJennings/bash-general/-/blob/master/find_files_sort_by_filename.sh